#ifndef __TEMP_USER_H__
#define __TEMP_USER_H__

#pragma once

#include "UserSession.h"

struct MSG_CG_CONNECTION_ENTERSERVER_SYN;

class TempUser : public UserSession
{
public:
	TempUser();
	virtual ~TempUser();


protected:
	virtual VOID			init();
	virtual VOID			release();

private:
	virtual VOID			OnDisconnect();
	virtual	VOID			OnRecv( BYTE * pMsg, WORD wSize );
	BOOL					_isAuthenticatedUser( UserSession * OUT pNewUser, MSG_CG_CONNECTION_ENTERSERVER_SYN * pMsg );

	BOOL					m_bFirst;
};

#endif // __TEMP_USER_H__